050525  2:31:54  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
050525  2:31:54  InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43655.
InnoDB: Doing recovery: scanned up to log sequence number 0 43655
050525  2:31:54  InnoDB: Started; log sequence number 0 43655
050525  2:31:54  InnoDB: Starting recovery for XA transactions...
050525  2:31:54  InnoDB: 0 transactions in prepared state after recovery
050525  2:31:55 [Note] ./mysqld: ready for connections.
Version: '5.0.4-beta-debug-log'  socket: '/tmp/mysql.sock'  port: 3306  MySQL Community Edition - Debug (GPL)
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=16777216
read_buffer_size=258048
max_used_connections=10
max_connections=100
threads_connected=10
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 92783 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=0x8ca7ac8
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0xbfe1e6a8, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x80a2cb3
0x838d688
0x837e514
0x837f0d1
0x8060406
0x805f7c9
0x81a344f
0x81a7210
0x81a6f31
0x81a71e3
0x81a49b4
0x81a531e
0x80b9a35
0x80bbfba
0x80b3b34
0x80b33fc
0x80b26b4
0x838ae3c
0x83b499a
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://dev.mysql.com/doc/mysql/en/Using_stack_trace.html and follow instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do 
resolve it
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x8d56c40 = Call SP1(101)
thd->thread_id=38
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.
